package cn.tedu.order.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

// 封装事务状态数据
// tx_table表的数据
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TxInfo {
    private String xid;        //事务id
    private Integer status;    //状态,0-成功,1-失败,2-未知
    private Long created;      //创建时间,对应字段create_at
}
